Hello Every one,
I have a requirement to create a .txt file every hour. I create a .bat file with the following script "PS C:\> sharedservicesstarted.txt -path C:\ -name sharedservicesstarted.txt -value (get-date).tostring() -Itemtype file"
I'm on windows server 2008r2. When i double click on the .bat file, a new "sharedservicesstarted.txt" files get created on the C:\,
but when i schedule the exact same file, its not creating the file and the last run result is shown as (0x1). Please need help.
Thanks